/*
 * This class is for data storage purpose and contains the fragments of a query at a high level
 */
package com.querie.parser;

/**
 *
 * @author a-skoshy
 */
public class FragmentParams {

    private String columnFrag;
    private String tableFrag;
    private String joinFrag;
    private String orderFrag;
    private String havingFrag;
    private String groupFrag;

    public void setColumnFrag(String frag) {
        this.columnFrag = frag;
    }

    public void setTableFrag(String frag) {
        this.tableFrag = frag;
    }

    public void setJoinFrag(String frag) {
        this.joinFrag = frag;
    }

    public void setOrderFrag(String frag) {
        this.orderFrag = frag;
    }

    public void setHavingFrag(String frag) {
        this.havingFrag = frag;
    }

    public void setGroupFrag(String frag) {
        this.groupFrag = frag;
    }

    public String getColumnFrag() {
        return columnFrag;
    }

    public String getGroupFrag() {
        return groupFrag;
    }

    public String getHavingFrag() {
        return havingFrag;
    }

    public String getJoinFrag() {
        return joinFrag;
    }

    public String getOrderFrag() {
        return orderFrag;
    }

    public String getTableFrag() {
        return tableFrag;
    }

    public String toString() {
        return "\n    columnFrag: " + columnFrag + "\n" + "    tableFrag: " + tableFrag
                + "\n" + "    joinFrag: " + joinFrag + "\n" + "    orderFrag: " + orderFrag
                + "\n" + "    havingFrag: " + havingFrag + "\n" + "    groupFrag: " + groupFrag + "\n";
    }
}
